<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
	$tv="select * from tin_tuc where id='$_GET[id]'";
	$tv_1=mysql_query($tv);
	$tv_2=mysql_fetch_array($tv_1);
	$link_hinh="../image/tin_tuc/".$tv_2['hinh_anh'];
	unlink($link_hinh);
?>
<?php 
	//chuoi xoa tin tuc theo ID
	$tv_xoa="DELETE FROM `tin_tuc` WHERE `id` = '$_GET[id]'";
	//thuc hien xoa tin tuc
	mysql_query($tv_xoa);
	thongbao("Đã xóa tin tức");
	//sau khi xoa thanh cong thi tro ve trang truoc do
	trangtruoc()
?>